﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tenta_v1_5
{
    class Data
    {
        public int I { get; set; }
        public Data(int i = 0)
        {
            this.I = i;
        }

        public override string ToString()
        {
            return I.ToString();
        }
    }
    class Program
    {
        static void Main(string[] args)
        {
            HT<string, Data> hash = new HT<string, Data>();
            for (int i = 0; i < 50; i++)
            {
                hash.Add(i.ToString(), new Data(i));
            }
            hash.Print();

            foreach (var item in hash)
            {
                Console.WriteLine(item);
            }

            Console.Read();
        }
    }
}
